import request from '../utils/request'


export function login(data) {
  return request({
    url: '/api/login',
    method: 'post',
    data,
  })
}


export function getAdminList() {
  return request({
    url: '/api/admin/list',
    method: 'post'
  })
}